gtkplacesview: make consistent loading state
authorCarlos Soriano <csoriano@gnome.org>
Sat, 29 Aug 2015 20:57:15 +0000 (22:57 +0200)
committerCarlos Soriano <csoriano@gnome.org>
Sun, 30 Aug 2015 07:47:28 +0000 (09:47 +0200)
commit0d93db7e68d8e00c5815d3717c5ec628cd315717
tree44b4554551731ae4d13a6ee0b21ce92e2a3017e0
parent150bb6245c30c8d452f4f06b27fdf7222c0e0dad
gtkplacesview: make consistent loading state

Until now the code was not very clear about why the loading property is
needed, since we didn't forced all the async operations to mark the
view as loading. This cause that clients are not aware when the view
is busy on those situations.

For instance Nautilus uses the property for a few things, one of it
is to show a busy spinner on the tab title.

To improve the situation, mark as loading when a volume operation,
a mount operation or a connect to server operation is being performed.

https://bugzilla.gnome.org/show_bug.cgi?id=754150
gtk/gtkplacesview.c